package com.xxgc.spring.service.impl;

import com.xxgc.spring.po.User;
import com.xxgc.spring.service.IUserLogin;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserLoginService implements IUserLogin {

    public int updateUserById(User user) {
        System.out.println("修改用户");
        return 0;
    }

    public int insertUser(User user) {
        System.out.println("插入用户");
        return 0;
    }

    public List<User> selectUserByName(String name) {
        System.out.println("根据用户名查询用户");
        return null;
    }

    public List<User> selectUserById(long uId) {
        System.out.println("根据id查询用户");
        return null;
    }
}
